﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Mestedur.ViewModels
{
    public class ChapterViewModel
    {
        [ScaffoldColumn(false)]
        public int Id { get; set; }

        [DisplayName("Номер")]
        public int NumberInOrder { get; set; }
        [DisplayName("Имя главы")]
        public virtual string ChapterName { get; set; }
        [DisplayName("Текст главы")]
        public virtual string ChapterData { get; set; }
        [ScaffoldColumn(false)]
        public virtual int TopicId { get; set; }
        [DisplayName("Список вопросов")]
        public IEnumerable<QuestionCheckViewModel> Questions { get; set; }
    }
}
